<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>新闻中心</title>
	<link rel="icon" href="picture.ico" type="image/x-icon"/>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<link rel="stylesheet" href="css/bootstrap-theme.min.css" />
	<link rel="stylesheet" href="css/daohang.css" />
	</head>
<style>
*{
	font-family: "微软雅黑";
}	
@media (max-width:1200px ) {
html{
	width: 1180px;
}
}
#daohang3>ul>li:nth-of-type(5)>a{
	color: #447ade;
}
</style>	
	<body>
<div id="daohang" class="navbar navbar-inverse navbar-fixed-top">
	<div style="width: 100%;background: #2e3a4b;color: white;text-align: right;line-height: 40px;">
		<div style="margin: 0 auto;" class="container">
			<img style="margin-right: 5px;vertical-align: middle;" src="images/ico_a.png" />
			<span style="vertical-align: middle;">客服热线：010-64449280</span>
		</div>
	</div>
	<div id="daohang2" class="container">
		<div class="navbar-header">
			<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
	          <span class="sr-only">Toggle navigation</span>
	          <span class="icon-bar"></span>
	          <span class="icon-bar"></span>
	          <span class="icon-bar"></span>
	        </button>
			<a id="daohang4" class="navbar-brand hidden-sm" href="index.html" style="width: 60px;display: block !important;"><img style="width: 60px;" src="images/logo.png"></a>
		</div>
		<div id="daohang3" class="navbar-collapse collapse" role="navigation">
			<ul class="nav navbar-nav">
				<li>
					<a data-hover="dropdown" href="index.html">首页</a>
				</li>
				<li>
					<a data-hover="dropdown" href="companyteam.html">公司团队</a>
				</li>
				<li>
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">公司产品</a>
					<ul class="dropdown-menu">
						<li><a href="products1.html">RAK免疫细胞</a></li>
						<li><a href="products2.html">脐带间充质干细胞</a></li>
					</ul>
				</li>
				<li>
					<a data-hover="dropdown" href="journalism.html">新闻中心</a>
				</li>
				<li>
					<a data-hover="dropdown" href="recruit.html">招贤纳士</a>
				</li>
				<li>
					<a data-hover="dropdown" href="contactus.html">联系我们</a>
				</li>
			</ul>
		</div>
	</div>
</div>		
<div class="headermargin">
	<img style="width: 100%;" src="images/xinwenbanner.jpg" />
</div>	
<div class="container" style="padding: 50px 0;font-size: 16px;">
	<div class="biaoti" style="font-size: 30px;color: #000;text-align: center;"></div>
	<div style="font-size: 14px;color: #999;text-align: center;margin-top: 20px;">
		<div style="display: inline-block;margin: 0 20px;">发布时间：<span class="shijian"></span></div>
		<div style="display: inline-block;margin: 0 20px;">浏览次数：<span class="liulanshu"></span></div>
		<div style="display: inline-block;margin: 0 20px;">发布人：<span class="faburen"></span></div>
	</div>
	<hr style="height:1px;border:none;border-top:1px dashed #666;"  />
	<div class="neirong" style="padding: 50px;">
		
	</div>

</div>	
	
<div class="dibu">
	
</div>
	</body>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-hover-dropdown.js"></script>
<script src="js/server.js"></script>	
<script>
	/*导入头部和尾部*/
$(document).ready(function(){
   $(".dibu").load("footer.html");
});


var $_GET = (function(){
    var url = window.document.location.href.toString();
    var u = url.split("?");
    if(typeof(u[1]) == "string"){
        u = u[1].split("&");
        var get = {};
        for(var i in u){
            var j = u[i].split("=");
            get[j[0]] = j[1];
        }
        return get;
    } else {
        return {};
    }
})();
$.ajax({
	url:server_name+'/wsapi-project-zhaopinDetail?id='+$_GET.id,
	type:'get',
	dataType:'json',
	success:function(data)
	{
		var data = data.data;
		console.log(data)
		$('.biaoti').html(data.title);
		$('.shijian').html(data.add_time);
		$('.liulanshu').html(data.click_count);
		$('.faburen').html(data.add_user_name);
		$('.neirong').html(data.desc);
	}
})
</script>
</html>
